/*
 * SpringSprite.h
 *
 *  Created on: Dec 14, 2011
 *      Author: jianli
 */

#ifndef SPRINGSPRITE_H_
#define SPRINGSPRITE_H_

#include "UnregularSprite.h"

class SpringSprite: public UnregularSprite {
public:
	SpringSprite(const Vector2f& pos, const Vector2f& vel, const Frame* fm,
			const string& name) : UnregularSprite(pos, vel, fm, name) {}
	virtual ~SpringSprite() {};

	virtual bool collide(Sprite* s);
	virtual void update(Uint32 ticks);



};

#endif /* SPRINGSPRITE_H_ */
